package com.gxa.index.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.index.entity.Accommodation;
import com.gxa.index.mapper.AccommodationMapper;
import com.gxa.index.service.AccommodationService;
import com.gxa.index.vo.AccommodationVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccommodationServiceImpl extends ServiceImpl<AccommodationMapper, Accommodation> implements AccommodationService {
    @Autowired
    private AccommodationMapper accommodationMapper;
    @Override
    public List<Accommodation> showStay(AccommodationVo accommodationVo) {
        return accommodationMapper.showStay(accommodationVo);
    }
}
